/**
 * Autogenerated by Thrift
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 */
#include "Limits_constants.h"

namespace evernote { namespace limits {

const LimitsConstants g_Limits_constants;

LimitsConstants::LimitsConstants() {
  EDAM_ATTRIBUTE_LEN_MIN = 1;

  EDAM_ATTRIBUTE_LEN_MAX = 4096;

  EDAM_ATTRIBUTE_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,4096}$";

  EDAM_ATTRIBUTE_LIST_MAX = 100;

  EDAM_ATTRIBUTE_MAP_MAX = 100;

  EDAM_GUID_LEN_MIN = 36;

  EDAM_GUID_LEN_MAX = 36;

  EDAM_GUID_REGEX = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$";

  EDAM_EMAIL_LEN_MIN = 6;

  EDAM_EMAIL_LEN_MAX = 255;

  EDAM_EMAIL_LOCAL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*$";

  EDAM_EMAIL_DOMAIN_REGEX = "^[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$";

  EDAM_EMAIL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$";

  EDAM_TIMEZONE_LEN_MIN = 1;

  EDAM_TIMEZONE_LEN_MAX = 32;

  EDAM_TIMEZONE_REGEX = "^([A-Za-z_-]+(/[A-Za-z_-]+)*)|(GMT(-|\\+)[0-9]{1,2}(:[0-9]{2})?)$";

  EDAM_MIME_LEN_MIN = 3;

  EDAM_MIME_LEN_MAX = 255;

  EDAM_MIME_REGEX = "^[A-Za-z]+/[A-Za-z0-9._+-]+$";

  EDAM_MIME_TYPE_GIF = "image/gif";

  EDAM_MIME_TYPE_JPEG = "image/jpeg";

  EDAM_MIME_TYPE_PNG = "image/png";

  EDAM_MIME_TYPE_WAV = "audio/wav";

  EDAM_MIME_TYPE_MP3 = "audio/mpeg";

  EDAM_MIME_TYPE_AMR = "audio/amr";

  EDAM_MIME_TYPE_MP4_VIDEO = "video/mp4";

  EDAM_MIME_TYPE_INK = "application/vnd.evernote.ink";

  EDAM_MIME_TYPE_PDF = "application/pdf";

  EDAM_MIME_TYPE_DEFAULT = "application/octet-stream";

  EDAM_MIME_TYPES.insert("image/gif");
  EDAM_MIME_TYPES.insert("image/jpeg");
  EDAM_MIME_TYPES.insert("image/png");
  EDAM_MIME_TYPES.insert("audio/wav");
  EDAM_MIME_TYPES.insert("audio/mpeg");
  EDAM_MIME_TYPES.insert("audio/amr");
  EDAM_MIME_TYPES.insert("application/vnd.evernote.ink");
  EDAM_MIME_TYPES.insert("application/pdf");
  EDAM_MIME_TYPES.insert("video/mp4");

  EDAM_COMMERCE_SERVICE_GOOGLE = "Google";

  EDAM_COMMERCE_SERVICE_PAYPAL = "Paypal";

  EDAM_COMMERCE_SERVICE_GIFT = "Gift";

  EDAM_COMMERCE_SERVICE_TRIALPAY = "TrialPay";

  EDAM_COMMERCE_SERVICE_TRIAL = "Trial";

  EDAM_COMMERCE_SERVICE_GROUP = "Group";

  EDAM_COMMERCE_SERVICE_CYBERSOURCE = "CYBERSRC";

  EDAM_COMMERCE_DEFAULT_CURRENCY_COUNTRY_CODE = "USD";

  EDAM_SEARCH_QUERY_LEN_MIN = 0;

  EDAM_SEARCH_QUERY_LEN_MAX = 1024;

  EDAM_SEARCH_QUERY_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{0,1024}$";

  EDAM_HASH_LEN = 16;

  EDAM_USER_USERNAME_LEN_MIN = 1;

  EDAM_USER_USERNAME_LEN_MAX = 64;

  EDAM_USER_USERNAME_REGEX = "^[a-z0-9]([a-z0-9_-]{0,62}[a-z0-9])?$";

  EDAM_USER_NAME_LEN_MIN = 1;

  EDAM_USER_NAME_LEN_MAX = 255;

  EDAM_USER_NAME_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,255}$";

  EDAM_TAG_NAME_LEN_MIN = 1;

  EDAM_TAG_NAME_LEN_MAX = 100;

  EDAM_TAG_NAME_REGEX = "^[^,\\p{Cc}\\p{Z}]([^,\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^,\\p{Cc}\\p{Z}])?$";

  EDAM_NOTE_TITLE_LEN_MIN = 1;

  EDAM_NOTE_TITLE_LEN_MAX = 255;

  EDAM_NOTE_TITLE_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,253}[^\\p{Cc}\\p{Z}])?$";

  EDAM_NOTE_CONTENT_LEN_MIN = 0;

  EDAM_NOTE_CONTENT_LEN_MAX = 5242880;

  EDAM_APPLICATIONDATA_NAME_LEN_MIN = 3;

  EDAM_APPLICATIONDATA_NAME_LEN_MAX = 32;

  EDAM_APPLICATIONDATA_VALUE_LEN_MIN = 0;

  EDAM_APPLICATIONDATA_VALUE_LEN_MAX = 4092;

  EDAM_APPLICATIONDATA_ENTRY_LEN_MAX = 4095;

  EDAM_APPLICATIONDATA_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$";

  EDAM_APPLICATIONDATA_VALUE_REGEX = "^[^\\p{Cc}]{0,4092}$";

  EDAM_NOTEBOOK_NAME_LEN_MIN = 1;

  EDAM_NOTEBOOK_NAME_LEN_MAX = 100;

  EDAM_NOTEBOOK_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$";

  EDAM_NOTEBOOK_STACK_LEN_MIN = 1;

  EDAM_NOTEBOOK_STACK_LEN_MAX = 100;

  EDAM_NOTEBOOK_STACK_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$";

  EDAM_PUBLISHING_URI_LEN_MIN = 1;

  EDAM_PUBLISHING_URI_LEN_MAX = 255;

  EDAM_PUBLISHING_URI_REGEX = "^[a-zA-Z0-9.~_+-]{1,255}$";

  EDAM_PUBLISHING_URI_PROHIBITED.insert("..");

  EDAM_PUBLISHING_DESCRIPTION_LEN_MIN = 1;

  EDAM_PUBLISHING_DESCRIPTION_LEN_MAX = 200;

  EDAM_PUBLISHING_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$";

  EDAM_SAVED_SEARCH_NAME_LEN_MIN = 1;

  EDAM_SAVED_SEARCH_NAME_LEN_MAX = 100;

  EDAM_SAVED_SEARCH_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$";

  EDAM_USER_PASSWORD_LEN_MIN = 6;

  EDAM_USER_PASSWORD_LEN_MAX = 64;

  EDAM_USER_PASSWORD_REGEX = "^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\\[\\]\\\\-]{6,64}$";

  EDAM_NOTE_TAGS_MAX = 100;

  EDAM_NOTE_RESOURCES_MAX = 1000;

  EDAM_USER_TAGS_MAX = 100000;

  EDAM_USER_SAVED_SEARCHES_MAX = 100;

  EDAM_USER_NOTES_MAX = 100000;

  EDAM_USER_NOTEBOOKS_MAX = 250;

  EDAM_USER_RECENT_MAILED_ADDRESSES_MAX = 10;

  EDAM_USER_MAIL_LIMIT_DAILY_FREE = 50;

  EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM = 200;

  EDAM_USER_UPLOAD_LIMIT_FREE = 62914560LL;

  EDAM_USER_UPLOAD_LIMIT_PREMIUM = 1073741824LL;

  EDAM_NOTE_SIZE_MAX_FREE = 26214400;

  EDAM_NOTE_SIZE_MAX_PREMIUM = 52428800;

  EDAM_RESOURCE_SIZE_MAX_FREE = 26214400;

  EDAM_RESOURCE_SIZE_MAX_PREMIUM = 52428800;

  EDAM_USER_LINKED_NOTEBOOK_MAX = 100;

  EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX = 250;

  EDAM_NOTE_CONTENT_CLASS_LEN_MIN = 3;

  EDAM_NOTE_CONTENT_CLASS_LEN_MAX = 32;

  EDAM_NOTE_CONTENT_CLASS_REGEX = "^[A-Za-z0-9_.-]{3,32}$";

  EDAM_CONTENT_CLASS_HELLO_ENCOUNTER = "evernote.hello.encounter";

  EDAM_CONTENT_CLASS_HELLO_PROFILE = "evernote.hello.profile";

  EDAM_CONTENT_CLASS_FOOD_MEAL = "evernote.food.meal";

}

}} // namespace

